Linux Server Hacks, Volume Two by William von Hagen; Brian K. Jones

Linux Server Hacks, Volume Two by William von Hagen; Brian K. Jones

Author:William von Hagen; Brian K. Jones
Language: eng
Format: mobi
Tags: Reference:Computers
ISBN: 1263225675
Publisher: O'Reilly Media
Published: 2009-02-09T10:00:00+00:00


p

Preserve modes and ownership of the original files in the copies.

R

Recursively copy the specified directory.

u

Copy files only when the original file is newer than an existing copy, or if no copy exists.

v

Display information about each file that is copied.

x

Don't follow mount points to other filesystems.

The Code

The actual script that I use to do these sorts of backups is the following (feel free to use or modify it if you'd like):

#!/bin/bash

#

# wvh's simple backup script using cp

#



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.